//
//  TemperatureDataModels.swift
//  TimeBoat
//
//  Created by bo wang on 2022/8/28.
//  Copyright © 2022 Time Boat. All rights reserved.
//

import UIKit
import YYModel

@objc class TemperatureDataUnit: ChartsDataUnit {
    @objc var bodyTemperature: Double = 0
    @objc var averageBodyTemperature: Double = 0
}

@objc class TemperatureYearlyDataUnit: ChartsYearDataUnit {
    @objc var averageBodyTemperature: Double = 0
}

@objc class TemperatureNormalDataModel: ChartsDataModel {
    @objc var list: [TemperatureDataUnit] = []
    @objc static func modelContainerPropertyGenericClass() -> [String: Any]? {[
        "list": TemperatureDataUnit.self
    ]}
}

@objc class TemperatureYearlyDataModel: ChartsDataModel {
    @objc var list: [TemperatureYearlyDataUnit] = []
    @objc static func modelContainerPropertyGenericClass() -> [String: Any]? {[
        "list": TemperatureYearlyDataUnit.self
    ]}
}
